# 拆包  同时给多个变量赋值
# 语法:
# a, b, ... = ('val1', 'val2', ...)
# 把后面序列的元素,一一对应的赋值给前面的变量.
# 注意: 变量的数量必须和元组的元素数量相同
# TODO tuple
t1 = ('付永康', 18, 180)
name, age, height = t1
print(name, age, height)

# TODO str
a, b, c = '123'
print(a, b, c)

# TODO list
name, age, height = ['陈志军', 18, 178]
print(name, age, height)









